package com.zrrd.yunchmall.user.service;

import com.zrrd.yunchmall.user.entity.Menu;
import com.zrrd.yunchmall.user.entity.Resource;
import com.zrrd.yunchmall.user.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zrrd.yunchmall.user.entity.RoleMenuRelation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 * 后台用户角色表 服务类
 * </p>
 *
 * @author YeKong
 * @since 2024-01-15
 */
public interface IRoleService extends IService<Role> {


    void allocRole(long roleId, String menuIds);

    List<Menu> getmenulist(long roleId);

    void allocResouce(long roleId, String resourceIds);


    List<Resource> getresourcelist(long roleId);
}
